<div>
    <div class="row" v-bind:class="{no_display:govActivitiesManageInfo.componentShow != 'activitiesList'}">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入宣传标题"
                                    v-model="govActivitiesManageInfo.conditions.title" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="govActivitiesManageInfo.conditions.typeCd">
                                <option selected value="">请选择类型</option>
                                <option v-for="(item,index) in govActivitiesManageInfo.govActivitiesTypes" :value="item.typeCd">
                                   {{item.typeName}}
                                </option>
                            </select> 
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryGovActivitiesMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <div class="row" v-bind:class="{no_display:govActivitiesManageInfo.componentShow != 'activitiesList'}">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>管理宣传信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddGovActivitiesModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            发布
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">宣传ID</th>
                                <th class="text-center">标题</th>
                                <th class="text-center">类型</th>
                                <th class="text-center">开始时间</th>
                                <th class="text-center">结束时间</th>
                                <th class="text-center">操作</th>


                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govActivities in govActivitiesManageInfo.govActivitiess">
                                <td class="text-center">{{govActivities.civiladminId}}</td>
                                <td class="text-center">{{govActivities.title}}</td>
                                <td class="text-center">{{govActivities.typeName}}</td>
                                <td class="text-center">{{govActivities.startTime}}</td>
                                <td class="text-center">{{govActivities.endTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovActivitiesModel(govActivities)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovActivitiesModel(govActivities)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>


    <div v-bind:class="{no_display:govActivitiesManageInfo.componentShow != 'addGovActivities'}">
        <vc:create path="gov/addGovCiviladmin"></vc:create>
    </div>
    <div v-bind:class="{no_display:govActivitiesManageInfo.componentShow != 'editGovActivities'}">
        <vc:create path="gov/editGovCiviladmin"></vc:create>
    </div>
    <vc:create path="gov/deleteGovCiviladmin"></vc:create>

</div>